package com.macro.mall.service.impl;

import com.macro.mall.dao.PmsItemTypeDao;
import com.macro.mall.dto.PmsItem;
import com.macro.mall.service.PmsItemTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author：Minxiao-Hao
 * @Description: 物品类型业务实现类
 * @name：PmsItemTypeServiceImpl
 * @Date：2024/11/2 12:20
 */
@Service
public class PmsItemTypeServiceImpl implements PmsItemTypeService {
    @Autowired
    private PmsItemTypeDao pimItemTypeDao;

    /**
     * 查询所有
     * @return List
     */
    @Override
    public List<PmsItem> list(){
        return pimItemTypeDao.list();
    }
}
